package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 教学计划(课表)对象 ya_teaching_plan
 *
 * @author ruoyi
 * @date 2024-04-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ya_teaching_plan")
public class YaTeachingPlan 
{
    private static final long serialVersionUID = 1L;

    /** 教学计划(课表)ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 日期 */
    @Excel(name = "日期")
    @TableField("date")
    private String date;

    /** 第几天 */
    @Excel(name = "第几天")
    @TableField("day")
    private Long day;

    /** 授课内容 */
    @Excel(name = "授课内容")
    @TableField("course_content")
    private String courseContent;

    /** 班级名字 */
    @Excel(name = "班级名字")
    @TableField("class_name")
    private String className;

    /** 阶段 */
    @Excel(name = "阶段")
    @TableField("stage")
    private Integer stage;

    /** 备注事项 */
    @Excel(name = "备注事项")
    @TableField("remarks")
    private String remarks;

    /** 星期几 */
    @Excel(name = "星期几")
    @TableField("weekday")
    private Integer weekday;

    /** 班级ID */
    @Excel(name = "班级ID")
    @TableField("classes_id")
    private Long classesId;

    /** 课程设计ID */
    @Excel(name = "课程设计ID")
    @TableField("course_design_id")
    private Long courseDesignId;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("day", getDay())
            .append("courseContent", getCourseContent())
            .append("className", getClassName())
            .append("stage", getStage())
            .append("remarks", getRemarks())
            .append("weekday", getWeekday())
            .append("classesId", getClassesId())
            .append("courseDesignId", getCourseDesignId())
            .toString();
    }
}
